package com.simple.business.domain.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@Data
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties("system-config")
public class ThirdLoginProperties {
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class ThirdLogin {
        private String type;
        private String clientId;
        private String clientSecret;
    }

    private List<ThirdLogin> thirdLogin;
}
